Learn R Programming

scater (version 1.0.4)

fData<-,SCESet,AnnotatedDataFrame-method: Replaces featureData in an SCESet object

Description

SCESet objects contain feature information (inherited from the ExpressionSet class). This function conveniently replaces the feature data with the value supplied, which must be an AnnotatedDataFrame.

Usage

"fData"(object) <- value
"fData"(object) <- value

Arguments

object
An SCESet object.
value
an AnnotatedDataFrame with updated featureData to replace existing

Value

A matrix of expression count data, where rows correspond to features (e.g. genes) and columns correspond to cells.

Examples

Run this code
## Not run: 
# data("sc_example_counts")
# data("sc_example_cell_info")
# pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
# example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
# fData(example_sceset)
# ## End(Not run)

Run the code above in your browser using DataLab